package routers

import (
	"fs_oms/controllers"

	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/", &controllers.LoginController{})
	beego.Router("/login", &controllers.LoginController{})
	beego.Router("/main", &controllers.MainController{})
	beego.Router("/querysub", &controllers.QuerySubController{})
	beego.Router("/addsub", &controllers.AddSubController{})
	beego.Router("/delsub", &controllers.DelSubController{})
	beego.Router("/queryregsub", &controllers.QueryRegSubController{})
	beego.Router("/querycdr", &controllers.QueryCDRController{})
	beego.Router("/delcdr", &controllers.DelCDRController{})
	beego.Router("/querygateway", &controllers.QueryGatewayController{})
	beego.Router("/addgateway", &controllers.AddGatewayController{})
	beego.Router("/delgateway", &controllers.DelGatewayController{})
}
